package com.cxrj.zhsq.administrate.dao;

import java.util.List;
import java.util.Map;

import com.cxrj.zhsq.administrate.entity.Personnel;

public interface PersonnelMapper {
    int deleteByPrimaryKey(String id);

    int insert(Personnel record);

    int insertSelective(Personnel record);

    Personnel selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Personnel record);

    int updateByPrimaryKeyWithBLOBs(Personnel record);

    int updateByPrimaryKey(Personnel record);
    
    List<Map<String, Object>> selectPersonnelPager(Map<String, Object> sqlMap);

	int getPersonnelCount(Map<String, Object> sqlMap);
	
	int selectByAppUser(Map<String, Object> sqlMap);
	
	Personnel selectByCard(Map<String, Object> sqlMap);
	
	int updateByCard(Map<String, Object> sqlMap);
}